package cn.sdormitory.report.vo;

import cn.hutool.core.date.DatePattern;
import cn.sdormitory.common.utils.poi.ExcelTitle;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author : yy
 * @date: 2025/4/12 15:25
 * @description: 宿舍违纪统计
 */
@Data
public class DormitoryViolationsStaVO {

    @ExcelTitle(title = "违纪时间")
    @ExcelProperty("违纪时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
    @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date createTime;

    @ExcelTitle(title = "违纪学生")
    @ExcelProperty("违纪学生")
    private String studentName;

    @ExcelTitle(title = "班级")
    @ExcelProperty("班级")
    private String className;

    @ExcelTitle(title = "宿舍")
    @ExcelProperty("宿舍")
    private String dormitory;

    @ExcelTitle(title = "违纪类型")
    @ExcelProperty("违纪类型")
    private String violationType;
    @ExcelTitle(title = "违纪详细类型")
    @ExcelProperty("违纪详细类型")
    private String violationTypeDetail;
    @ExcelTitle(title = "违纪原因")
    @ExcelProperty("违纪原因")
    private String violationReason;
    @ExcelTitle(title = "违纪照片")
    @ExcelProperty("违纪照片")
    private String violationImg;
    @ExcelTitle(title = "违纪登记人")
    @ExcelProperty("违纪登记人")
    private String createBy;

    @ExcelTitle(title = "处理状态")
    @ExcelProperty("处理状态")
    private String applyStatus;

    @ExcelTitle(title = "处理结果")
    @ExcelProperty("处理结果")
    private String processResult;
}
